package com.cloud.salon.common.base.entity.authority;

import com.cloud.salon.common.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.*;

/**
 * @Description 权限实体类
 * @Author wolf--LZH
 * @CreateDate 2019/4/10 0010 下午 2:34
 */
@Data
@Entity
@Table(name="authority")
public class Authority extends BaseEntity {

    @Column(nullable = false, length = 50)
    private String name;
    @Column(nullable = false, length = 50)
    private String url;
}
